<%@ page contentType="text/html; charset=UTF-8" language="java" %>
<%@ include file="/common/taglib.jsp" %>
<html>
<head>
    <title></title>
</head>
<body>
<s:form action="/admin.do" method="post">
    <s:hidden name="verify"/>
<table cellpadding="1" cellspacing="1" border="1">
    <thead>
            <td>操作</td>
            <td>图片</td>
            <td>商品名称</td>
            <td>时间</td>
            <td>详细</td>
    </thead>
    <c:forEach items="${actionBean.page.elements}" var="product" varStatus="status">
    <tr>
        <td><s:checkbox name="idStr" value="${product.id}"/></td>
        <td><img src="${product.picurl}" style="width:50px;height:50px;"></td>
        <td>${product.name}</td>
        <td><fmt:formatDate value="${product.starttime}" pattern="yyyy-MM-dd HH:mm"/></td>
        <td>${product.detail}</td>
    </tr>
    </c:forEach>
    <tr style="text-align: center">
        <td colspan="5"><zk:page page="${actionBean.page}"/></td>
    </tr>
</table>
</s:form>

</body>
</html>